package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.domain.business.BusinessCountDO;
import com.qk.dto.business.QueryPageBusinessDTO;
import com.qk.entity.Business;
import com.qk.vo.business.QueryBusinessVO;
import com.qk.vo.business.QueryPageBusinessVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author:gzc
 * @Date: 2025/10/06 21:54
 * @Description:
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    Page<QueryPageBusinessVO> queryListByPage(Page<QueryPageBusinessVO> page, @Param("queryPageBusinessDTO") QueryPageBusinessDTO queryPageBusinessDTO);

    QueryBusinessVO queryById(Integer id);

    BusinessCountDO queryBusiness();
}
